import { post, get } from '../util/request';
//1. 手机登录
export const reqLogin = (phone, password) => get(`/login/cellphone?phone=${phone}&password=${password}`); //1. 手机登录
// 发送验证码
export const reqCaptcha = (phone) => get(`/captcha/sent?phone=${phone}`);
// 验证验证码
export const reqIsCaptcha = (phone, captcha) => get(`/captcha/verify?phone=${phone}&captcha=1597${captcha}`); // 验证验证码
// 退出登录
export const reqOUTLogin = () => get(`/logout`);

// 登录状态
export const reqLoginStatus = () => get(`/login/status`);